package OOday05;

import java.sql.SQLOutput;

public class StaticVar {
    int x ;
    static int  y ;

    StaticVar(){

    }
    void  show(){
        System.out.println("x="+x+"y="+y);
    }
    static {
        System.out.println("静态块");
    }
    static void showS(){
        StaticVar a = new StaticVar();
        System.out.println(a.x);
        System.out.println("11");

    }
    static  int plus (){
        y++;
        return y;
    }

}
